package com.zhangshuo.test2.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 发件箱，这里仅显示与充值相关的记录
 * </p>
 *
 * @author 张硕
 * @since 2017-05-31
 */
public class SmsOut extends Model<SmsOut> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Integer id;
    /**
     * 指定的网关ID
     */
	private String gateway;
    /**
     * 订单号
     */
	private String orderId;
    /**
     * 油卡主卡号
     */
	private String cardNo;
    /**
     * 充值卡密
     */
	private String cardPass;
    /**
     * 收件人
     */
	private String recipients;
    /**
     * 短信状态,默认为未发送状态
     */
	private String status;
    /**
     * 短信发送失败原因
     */
	private String failureCause;
    /**
     * 记录创建时间
     */
	private Date createAt;
    /**
     * 记录修改时间
     */
	private Date updateAt;
    /**
     * 该条短信是否被回复,默认为false
     */
	private Boolean isReply;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getGateway() {
		return gateway;
	}

	public void setGateway(String gateway) {
		this.gateway = gateway;
	}

	public String getOrderId() {
		return orderId;
	}

	public void setOrderId(String orderId) {
		this.orderId = orderId;
	}

	public String getCardNo() {
		return cardNo;
	}

	public void setCardNo(String cardNo) {
		this.cardNo = cardNo;
	}

	public String getCardPass() {
		return cardPass;
	}

	public void setCardPass(String cardPass) {
		this.cardPass = cardPass;
	}

	public String getRecipients() {
		return recipients;
	}

	public void setRecipients(String recipients) {
		this.recipients = recipients;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getFailureCause() {
		return failureCause;
	}

	public void setFailureCause(String failureCause) {
		this.failureCause = failureCause;
	}

	public Date getCreateAt() {
		return createAt;
	}

	public void setCreateAt(Date createAt) {
		this.createAt = createAt;
	}

	public Date getUpdateAt() {
		return updateAt;
	}

	public void setUpdateAt(Date updateAt) {
		this.updateAt = updateAt;
	}

	public Boolean isIsReply() {
		return isReply;
	}

	public void setIsReply(Boolean isReply) {
		this.isReply = isReply;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

}
